package org.example.demo1.DAO;

import org.example.demo1.Entity.Permission;
import java.util.List;

public interface PermissionDao {
    List<Permission> getAllPermissions();
    Permission getPermissionById(int permission_id);
    int insertPermission(Permission permission);
    int updatePermission(Permission permission);
    int deletePermission(int permission_id);
    List<Permission> getPermissionsByRoleId(int role_id);
}